package com.asiainfo.commons.dao.impl;

import com.ai.appframe2.complex.util.e.K;
import com.asiainfo.appframe.ext.exeframe.bp.bo.BOBpFtpEngine;
import com.asiainfo.appframe.ext.exeframe.bp.ivalues.IBOBpFtpValue;
import com.asiainfo.commons.dao.interfaces.IVolumnBusinessDAO;

public class VolumnBusinessDAOImpl implements IVolumnBusinessDAO{

	public IBOBpFtpValue getBpFtp(long ftpId) throws Exception {
		IBOBpFtpValue rtn = BOBpFtpEngine.getBean(ftpId);
		if(rtn!=null){
			rtn.setPassword(K.k_s(rtn.getPassword()));
		}
		return rtn;
	}

}
